var e = require, t = module, n = exports;

Object.defineProperty(n, "__esModule", {
    value: !0
});

var o = function() {
    function t(t) {
        this.config = null, this.player = null, this.isSkill = !1, this.player = t.player, 
        this.config = t.config;
    }
    return t.prototype.doDestory = function() {
        this.isSkill = !1;
    }, t.prototype.doUpdate = function() {}, t.prototype.doCheck = function() {
        return !this.isSkill && 100 * Math.random() < this.config.rate;
    }, t.prototype.doSkill = function() {
        return this.isSkill = !0;
    }, t;
}();

n.default = o;